import request from '../../utils/request';
/**
 * 配置桥梁路线的布跨信息
 */
export function crossSectionTree(params){
    
    return request('/design/crossSectionCategory/treeList', {
        method: 'post',
        data: params
    });
}
export function getTemplateList(params){
    
    return request('/design/crossSectionTemplate/getTemplateList', {
        method: 'post',
        data: params
    });
}
export function deletecCrossSectionTemplate(params){
    
    return request('/design/crossSectionTemplate/delete', {
        method: 'post',
        data: params
    });
}
export function crossSectionTemplateDetail(params){
    
    return request('/design/crossSectionTemplate/getDetailById', {
        method: 'post',
        data: params
    });
}
export function addCrossSectionTemplate(params){
    return request('/design/crossSectionTemplate/add', {
        method: 'post',
        data: params
    });
}
export function updateCrossSectionTemplate(params){
    return request('/design/crossSectionTemplate/update', {
        method: 'post',
        data: params
    });
}

export function addFiles(params){
    return request('/design/file/addFiles', {
        method: 'post',
        data: params
    });
}








